<?php

use yii\db\Migration;

/**
 * Class m221121_065636_fill_info_chanel_table
 */
class m221121_065636_fill_info_chanel_table extends Migration
{
    /**
     * {@inheritdoc}
     */
    public function safeUp()
    {
        $this->batchInsert('{{%info_chanel}}', ['title'], [
            ['Сайт головной организации'],
          ]
        );
    }

    /**
     * {@inheritdoc}
     */
    public function safeDown()
    {
        echo "m221121_065636_fill_info_chanel_table cannot be reverted.\n";

        return false;
    }

    /*
    // Use up()/down() to run migration code without a transaction.
    public function up()
    {

    }

    public function down()
    {
        echo "m221121_065636_fill_info_chanel_table cannot be reverted.\n";

        return false;
    }
    */
}
